﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C15 RID: 3093
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MuseumDispatchFinishedScNotify : IMessage<MuseumDispatchFinishedScNotify>, IMessage, IEquatable<MuseumDispatchFinishedScNotify>, IDeepCloneable<MuseumDispatchFinishedScNotify>, IBufferMessage
	{
		// Token: 0x170026F8 RID: 9976
		// (get) Token: 0x06008A42 RID: 35394 RVA: 0x0016FD7B File Offset: 0x0016DF7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MuseumDispatchFinishedScNotify> Parser
		{
			get
			{
				return MuseumDispatchFinishedScNotify._parser;
			}
		}

		// Token: 0x170026F9 RID: 9977
		// (get) Token: 0x06008A43 RID: 35395 RVA: 0x0016FD82 File Offset: 0x0016DF82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MuseumDispatchFinishedScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170026FA RID: 9978
		// (get) Token: 0x06008A44 RID: 35396 RVA: 0x0016FD94 File Offset: 0x0016DF94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MuseumDispatchFinishedScNotify.Descriptor;
			}
		}

		// Token: 0x06008A45 RID: 35397 RVA: 0x0016FD9B File Offset: 0x0016DF9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumDispatchFinishedScNotify()
		{
		}

		// Token: 0x06008A46 RID: 35398 RVA: 0x0016FDA4 File Offset: 0x0016DFA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumDispatchFinishedScNotify(MuseumDispatchFinishedScNotify other) : this()
		{
			this.oHPDIGGFBJP_ = other.oHPDIGGFBJP_;
			this.oLBALOBGALI_ = other.oLBALOBGALI_;
			this.bIIHOBMMFDP_ = other.bIIHOBMMFDP_;
			this.coinCost_ = other.coinCost_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008A47 RID: 35399 RVA: 0x0016FDF8 File Offset: 0x0016DFF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumDispatchFinishedScNotify Clone()
		{
			return new MuseumDispatchFinishedScNotify(this);
		}

		// Token: 0x170026FB RID: 9979
		// (get) Token: 0x06008A48 RID: 35400 RVA: 0x0016FE00 File Offset: 0x0016E000
		// (set) Token: 0x06008A49 RID: 35401 RVA: 0x0016FE08 File Offset: 0x0016E008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OHPDIGGFBJP
		{
			get
			{
				return this.oHPDIGGFBJP_;
			}
			set
			{
				this.oHPDIGGFBJP_ = value;
			}
		}

		// Token: 0x170026FC RID: 9980
		// (get) Token: 0x06008A4A RID: 35402 RVA: 0x0016FE11 File Offset: 0x0016E011
		// (set) Token: 0x06008A4B RID: 35403 RVA: 0x0016FE19 File Offset: 0x0016E019
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OLBALOBGALI
		{
			get
			{
				return this.oLBALOBGALI_;
			}
			set
			{
				this.oLBALOBGALI_ = value;
			}
		}

		// Token: 0x170026FD RID: 9981
		// (get) Token: 0x06008A4C RID: 35404 RVA: 0x0016FE22 File Offset: 0x0016E022
		// (set) Token: 0x06008A4D RID: 35405 RVA: 0x0016FE2A File Offset: 0x0016E02A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BIIHOBMMFDP
		{
			get
			{
				return this.bIIHOBMMFDP_;
			}
			set
			{
				this.bIIHOBMMFDP_ = value;
			}
		}

		// Token: 0x170026FE RID: 9982
		// (get) Token: 0x06008A4E RID: 35406 RVA: 0x0016FE33 File Offset: 0x0016E033
		// (set) Token: 0x06008A4F RID: 35407 RVA: 0x0016FE3B File Offset: 0x0016E03B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CoinCost
		{
			get
			{
				return this.coinCost_;
			}
			set
			{
				this.coinCost_ = value;
			}
		}

		// Token: 0x06008A50 RID: 35408 RVA: 0x0016FE44 File Offset: 0x0016E044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MuseumDispatchFinishedScNotify);
		}

		// Token: 0x06008A51 RID: 35409 RVA: 0x0016FE54 File Offset: 0x0016E054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MuseumDispatchFinishedScNotify other)
		{
			return other != null && (other == this || (this.OHPDIGGFBJP == other.OHPDIGGFBJP && this.OLBALOBGALI == other.OLBALOBGALI && this.BIIHOBMMFDP == other.BIIHOBMMFDP && this.CoinCost == other.CoinCost && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008A52 RID: 35410 RVA: 0x0016FEC0 File Offset: 0x0016E0C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OHPDIGGFBJP != 0U)
			{
				num ^= this.OHPDIGGFBJP.GetHashCode();
			}
			if (this.OLBALOBGALI != 0U)
			{
				num ^= this.OLBALOBGALI.GetHashCode();
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				num ^= this.BIIHOBMMFDP.GetHashCode();
			}
			if (this.CoinCost != 0U)
			{
				num ^= this.CoinCost.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008A53 RID: 35411 RVA: 0x0016FF4A File Offset: 0x0016E14A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008A54 RID: 35412 RVA: 0x0016FF52 File Offset: 0x0016E152
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008A55 RID: 35413 RVA: 0x0016FF5C File Offset: 0x0016E15C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CoinCost != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.CoinCost);
			}
			if (this.OHPDIGGFBJP != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.OHPDIGGFBJP);
			}
			if (this.OLBALOBGALI != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.OLBALOBGALI);
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.BIIHOBMMFDP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008A56 RID: 35414 RVA: 0x0016FFF0 File Offset: 0x0016E1F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OHPDIGGFBJP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OHPDIGGFBJP);
			}
			if (this.OLBALOBGALI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OLBALOBGALI);
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BIIHOBMMFDP);
			}
			if (this.CoinCost != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CoinCost);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008A57 RID: 35415 RVA: 0x00170078 File Offset: 0x0016E278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MuseumDispatchFinishedScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OHPDIGGFBJP != 0U)
			{
				this.OHPDIGGFBJP = other.OHPDIGGFBJP;
			}
			if (other.OLBALOBGALI != 0U)
			{
				this.OLBALOBGALI = other.OLBALOBGALI;
			}
			if (other.BIIHOBMMFDP != 0U)
			{
				this.BIIHOBMMFDP = other.BIIHOBMMFDP;
			}
			if (other.CoinCost != 0U)
			{
				this.CoinCost = other.CoinCost;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008A58 RID: 35416 RVA: 0x001700F0 File Offset: 0x0016E2F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008A59 RID: 35417 RVA: 0x001700FC File Offset: 0x0016E2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num == 40U)
					{
						this.CoinCost = input.ReadUInt32();
						continue;
					}
					if (num == 80U)
					{
						this.OHPDIGGFBJP = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.OLBALOBGALI = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.BIIHOBMMFDP = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040034CF RID: 13519
		private static readonly MessageParser<MuseumDispatchFinishedScNotify> _parser = new MessageParser<MuseumDispatchFinishedScNotify>(() => new MuseumDispatchFinishedScNotify());

		// Token: 0x040034D0 RID: 13520
		private UnknownFieldSet _unknownFields;

		// Token: 0x040034D1 RID: 13521
		public const int OHPDIGGFBJPFieldNumber = 10;

		// Token: 0x040034D2 RID: 13522
		private uint oHPDIGGFBJP_;

		// Token: 0x040034D3 RID: 13523
		public const int OLBALOBGALIFieldNumber = 11;

		// Token: 0x040034D4 RID: 13524
		private uint oLBALOBGALI_;

		// Token: 0x040034D5 RID: 13525
		public const int BIIHOBMMFDPFieldNumber = 14;

		// Token: 0x040034D6 RID: 13526
		private uint bIIHOBMMFDP_;

		// Token: 0x040034D7 RID: 13527
		public const int CoinCostFieldNumber = 5;

		// Token: 0x040034D8 RID: 13528
		private uint coinCost_;
	}
}
